package org.webcamp.settings.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Settings implements Serializable {

	public static final List<String> SETTINGS_NAMES = new ArrayList<>();

	static {
		SETTINGS_NAMES.add("Path To Questionaries");
		SETTINGS_NAMES.add("Some other setting");
		SETTINGS_NAMES.add("Some other setting2");
	}

	private Map<String, String> values = new HashMap<String, String>();

	public String getSetting(String name) {
		String value = values.get(name);
		if (value == null) {
			value = "";
		}
		return value;
	}

	public void setSetting(String name, String value) {
		values.put(name, value);
	}
}
